package com.hilinos.ftp.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.Map;

@Data
@Configuration
@ConfigurationProperties(prefix = "com.hilinos.ftp")
public class ServerConfig {
    /**
     * ftp监听的端口号
     */
    private int port = 2121;

    private String passivePorts = "10000-15000";
    /**
     * ftp根目录
     */
    private String rootDir;
}
